package cn.felord.jacksons.entity;

import com.fasterxml.jackson.annotation.JsonAutoDetect;

/**
 * The type ConstructUser.
 *
 * @author n1
 * @since 2021 /7/13 10:12
 */
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)
public class ConstructUser {
    private final String name;
    private final Integer age;

    public ConstructUser(String name, Integer age) {
        this.name = name;
        this.age = age;
    }
}
